Version 1 of Action Hints by Juhana Leinonen begins here.


Section 1 - Action hints collecting activity

Displaying action hints is an activity. The displaying action hints activity has a list of indexed text called the chosen hints.


Section 2 - Saying the list 

Rule for displaying action hints rule (this is the print collected hints rule):
	repeat with N running from 1 to the number of entries in chosen hints:
		if N is not 1:
			if N is the number of entries in chosen hints:
				say "[if the serial comma option is active and N > 2],[end if] or ";
			otherwise:
				say ", ";
		say entry N of chosen hints.		

[this is so that we can print the list inside a say phrase]
To say current action hints:
	carry out the displaying action hints activity.
	

Action Hints ends here.
